#pragma once
#include <string>
using namespace std;

class IData
{
public:
	virtual string toString(char delimiter) = 0;
	virtual bool set(char* content, char delimiter) = 0;
	virtual bool isValid() = 0;
	virtual bool compareId(char* id) = 0;
	virtual bool compareId(char* id, char* source, char delimiter) = 0;
	
	//Limits the data to a maximum of 4 variables. This can be changed by including som "new" calls to update the char* variables.
	static const int numVariables = 4;
	char* variables[numVariables];
};